1#keymap 2# 3# Brazilian Portuguese (ABNT2) keymap 4# 5# Raw key numbering for 101 keyboard... 6# [sys] [brk] 7# 0x7e 0x7f 8# [esc] [ f1] [ f2] [ f3] [ f4] [ f5] [ f6] [ f7] [ f8] [ f9] [f10] [f11] [f12] [prn] [scr] [pau] 9# 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 K E Y P A D K E Y S 10# 11# [ ` ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 0 ] [ - ] [ = ] [bck] [ins] [hme] [pup] [num] [ / ] [ * ] [ - ] 12# 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21 0x22 0x23 0x24 0x25 13# 14# [tab] [ q ] [ w ] [ e ] [ r ] [ t ] [ y ] [ u ] [ i ] [ o ] [ p ] [ [ ] [ ] ] [ \ ] [del] [end] [pdn] [ 7 ] [ 8 ] [ 9 ] [ + ] 15# 0x26 0x27 0x28 0x29 0x2a 0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3a 16# 17# [cap] [ a ] [ s ] [ d ] [ f ] [ g ] [ h ] [ j ] [ k ] [ l ] [ ; ] [ ' ] [ enter ] [ 4 ] [ 5 ] [ 6 ] 18# 0x3b 0x3c 0x3d 0x3e 0x3f 0x40 0x41 0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4a 19# 20# [shift] [ z ] [ x ] [ c ] [ v ] [ b ] [ n ] [ m ] [ , ] [ . ] [ / ] [shift] [ up] [ 1 ] [ 2 ] [ 3 ] [ent] 21# 0x4b 0x4c 0x4d 0x4e 0x4f 0x50 0x51 0x52 0x53 0x54 0x55 0x56 0x57 0x58 0x59 0x5a 0x5b 22# 23# [ctr] [cmd] [ space ] [cmd] [ctr] [lft] [dwn] [rgt] [ 0 ] [ . ] 24# 0x5c 0x5d 0x5e 0x5f 0x60 0x61 0x62 0x63 0x64 0x65 25# 26# NOTE: On a Microsoft Natural Keyboard: 27# left option = 0x66 28# right option = 0x67 29# menu key = 0x68 30# NOTE: On an Apple Extended Keyboard: 31# left option = 0x66 32# right option = 0x67 33# keypad '=' = 0x6a 34# power key = 0x6b 35Version = 3 36CapsLock = 0x3b 37ScrollLock = 0x0f 38NumLock = 0x22 39LShift = 0x4b 40RShift = 0x56 41LCommand = 0x5d 42RCommand = 0x00 43LControl = 0x5c 44RControl = 0x60 45LOption = 0x66 46ROption = 0x5f 47Menu = 0x68 48# 49# Lock settings 50# To set NumLock, do the following: 51# LockSettings = NumLock 52# 53# To set everything, do the following: 54# LockSettings = CapsLock NumLock ScrollLock 55# 56LockSettings = 57# Legend: 58# n = Normal 59# s = Shift 60# c = Control 61# C = CapsLock 62# o = Option 63# Key n s c o os C Cs Co Cos 64Key 0x00 = '' '' '' '' '' '' '' '' '' 65Key 0x01 = 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 66Key 0x02 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 67Key 0x03 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 68Key 0x04 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 69Key 0x05 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 70Key 0x06 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 71Key 0x07 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 72Key 0x08 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 73Key 0x09 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 74Key 0x0a = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 75Key 0x0b = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 76Key 0x0c = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 77Key 0x0d = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 78Key 0x0e = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 79Key 0x0f = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 80Key 0x10 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 81Key 0x11 = '\'' '"' '' ' ' '' '\'' '"' ' ' '' 82Key 0x12 = '1' '!' '' 0xc2b9 '' '1' '!' 0xc2b9 '' 83Key 0x13 = '2' '@' 0x00 0xc2b2 '' '2' '@' 0xc2b2 '' 84Key 0x14 = '3' '#' '' 0xc2b3 '' '3' '#' 0xc2b3 '' 85Key 0x15 = '4' '$' '' 0xc2a3 '' '4' '$' 0xc2a3 '' 86Key 0x16 = '5' '%' '' 0xc2a2 '' '5' '%' 0xc2a2 '' 87# dead key 88Key 0x17 = '6' 0xc2a8 '' 0xc2ac '' '6' 0xc2a8 0xc2ac '' 89Key 0x18 = '7' '&' '' ' ' '' '7' '&' ' ' '' 90Key 0x19 = '8' '*' '' ' ' '' '8' '*' ' ' '' 91Key 0x1a = '9' '(' '' ' ' '' '9' '(' ' ' '' 92Key 0x1b = '0' ')' '' ' ' '' '0' ')' ' ' '' 93Key 0x1c = '-' '_' 0x1f ' ' '' '-' '_' ' ' '' 94Key 0x1d = '=' '+' '' 0xc2a7 '' '=' '+' 0xc2a7 '' 95Key 0x1e = 0x08 0x08 0x7f 0x08 0x08 0x08 0x08 0x08 0x08 96Key 0x1f = 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 97Key 0x20 = 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 98Key 0x21 = 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 99Key 0x22 = '' '' '' '' '' '' '' '' '' 100Key 0x23 = '/' '/' '/' '/' '/' '/' '/' '/' '/' 101Key 0x24 = '*' '*' '*' '*' '*' '*' '*' '*' '*' 102Key 0x25 = '-' '-' '-' '-' '-' '-' '-' '-' '-' 103Key 0x26 = 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x09 104Key 0x27 = 'q' 'Q' 0x11 '/' '' 'Q' 'q' '/' '' 105Key 0x28 = 'w' 'W' 0x17 '?' '' 'W' 'w' '?' '' 106Key 0x29 = 'e' 'E' 0x05 0xc2b0 '' 'E' 'e' 0xc2b0 '' 107Key 0x2a = 'r' 'R' 0x12 ' ' '' 'R' 'r' ' ' '' 108Key 0x2b = 't' 'T' 0x14 ' ' '' 'T' 't' ' ' '' 109Key 0x2c = 'y' 'Y' 0x19 ' ' '' 'Y' 'y' ' ' '' 110Key 0x2d = 'u' 'U' 0x15 ' ' '' 'U' 'u' ' ' '' 111Key 0x2e = 'i' 'I' 0x09 ' ' '' 'I' 'i' ' ' '' 112Key 0x2f = 'o' 'O' 0x0f ' ' '' 'O' 'o' ' ' '' 113# dead keys 114Key 0x30 = 'p' 'P' 0x10 ' ' '' 'P' 'p' ' ' '' 115Key 0x31 = 0xc2b4 '`' '' ' ' '' 0xc2b4 '`' ' ' '' 116Key 0x32 = '[' '{' 0x1b 0xc2aa '' '[' '{' 0xc2aa '' 117Key 0x33 = ']' '}' 0x1c 0xc2ba '' ']' '}' 0xc2ba '' 118Key 0x34 = 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 119Key 0x35 = 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 120Key 0x36 = 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 121Key 0x37 = 0x01 '7' 0x01 0x01 '7' 0x01 '7' 0x01 '7' 122Key 0x38 = 0x1e '8' 0x1e 0x1e '8' 0x1e '8' 0x1e '8' 123Key 0x39 = 0x0b '9' 0x0b 0x0b '9' 0x0b '9' 0x0b '9' 124Key 0x3a = '+' '+' '+' '+' '+' '+' '+' '+' '+' 125Key 0x3b = '' '' '' '' '' '' '' '' '' 126Key 0x3c = 'a' 'A' 0x01 ' ' '' 'A' 'a' ' ' '' 127Key 0x3d = 's' 'S' 0x13 ' ' '' 'S' 's' ' ' '' 128Key 0x3e = 'd' 'D' 0x04 ' ' '' 'D' 'd' ' ' '' 129Key 0x3f = 'f' 'F' 0x06 ' ' '' 'F' 'f' ' ' '' 130Key 0x40 = 'g' 'G' 0x07 ' ' '' 'G' 'g' ' ' '' 131Key 0x41 = 'h' 'H' 0x08 ' ' '' 'H' 'h' ' ' '' 132Key 0x42 = 'j' 'J' 0x0a ' ' '' 'J' 'j' ' ' '' 133Key 0x43 = 'k' 'K' 0x0b ' ' '' 'K' 'k' ' ' '' 134Key 0x44 = 'l' 'L' 0x0c ' ' '' 'L' 'l' ' ' '' 135Key 0x45 = 0xc3a7 0xc387 0x1d ' ' '' 0xc387 0xc3a7 ' ' '' 136# dead keys 137Key 0x46 = '~' '^' 0x1e ' ' '' '~' '^' ' ' '' 138Key 0x47 = 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 139Key 0x48 = 0x1c '4' 0x1c 0x1c '4' 0x1c '4' 0x1c '4' 140Key 0x49 = '' '5' '' '' '5' '' '5' '' '5' 141Key 0x4a = 0x1d '6' 0x1d 0x1d '6' 0x1d '6' 0x1d '6' 142Key 0x4b = '' '' '' '' '' '' '' '' '' 143Key 0x4c = 'z' 'Z' 0x1a ' ' '' 'Z' 'z' ' ' '' 144Key 0x4d = 'x' 'X' 0x18 ' ' '' 'X' 'x' ' ' '' 145Key 0x4e = 'c' 'C' 0x03 ' ' '' 'C' 'c' ' ' '' 146Key 0x4f = 'v' 'V' 0x16 ' ' '' 'V' 'v' ' ' '' 147Key 0x50 = 'b' 'B' 0x02 ' ' '' 'B' 'b' ' ' '' 148Key 0x51 = 'n' 'N' 0x0e ' ' '' 'N' 'n' ' ' '' 149Key 0x52 = 'm' 'M' 0x0d ' ' '' 'M' 'm' ' ' '' 150Key 0x53 = ',' '<' '' ' ' '' ',' '<' ' ' '' 151Key 0x54 = '.' '>' '' ' ' '' '.' '>' ' ' '' 152Key 0x55 = ';' ':' '' ' ' '' ';' ':' ' ' '' 153Key 0x56 = '' '' '' '' '' '' '' '' '' 154Key 0x57 = 0x1e 0x1e 0x1e 0x1e 0x1e 0x1e 0x1e 0x1e 0x1e 155Key 0x58 = 0x04 '1' 0x04 0x04 '1' 0x04 '1' 0x04 '1' 156Key 0x59 = 0x1f '2' 0x1f 0x1f '2' 0x1f '2' 0x1f '2' 157Key 0x5a = 0x0c '3' 0x0c 0x0c '3' 0x0c '3' 0x0c '3' 158Key 0x5b = 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 159Key 0x5c = '' '' '' '' '' '' '' '' '' 160Key 0x5d = '' '' '' '' '' '' '' '' '' 161Key 0x5e = ' ' ' ' 0x00 ' ' ' ' ' ' ' ' ' ' ' ' 162Key 0x5f = '' '' '' '' '' '' '' '' '' 163Key 0x60 = '' '' '' '' '' '' '' '' '' 164Key 0x61 = 0x1c 0x1c 0x1c 0x1c 0x1c 0x1c 0x1c 0x1c 0x1c 165Key 0x62 = 0x1f 0x1f 0x1f 0x1f 0x1f 0x1f 0x1f 0x1f 0x1f 166Key 0x63 = 0x1d 0x1d 0x1d 0x1d 0x1d 0x1d 0x1d 0x1d 0x1d 167Key 0x64 = 0x05 '0' 0x05 0x05 '0' 0x05 '0' 0x05 '0' 168Key 0x65 = 0x7f ',' 0x7f 0x7f ',' 0x7f ',' 0x7f ',' 169Key 0x66 = '' '' '' '' '' '' '' '' '' 170Key 0x67 = '' '' '' '' '' '' '' '' '' 171Key 0x68 = '' '' '' '' '' '' '' '' '' 172Key 0x69 = '\\' '|' 0x1c ' ' '' '\\' '|' ' ' '' 173Key 0x6a = '' '' '' '' '' '' '' '' '' 174# the 103rd key (on the left of the right Shift key, same as Japanese underscore key) 175Key 0x6b = '/' '?' '' 0xc2b0 '' '/' '?' 0xc2b0 '' 176Key 0x6c = '' '' '' '' '' '' '' '' '' 177Key 0x6d = '' '' '' '' '' '' '' '' '' 178Key 0x6e = '' '' '' '' '' '' '' '' '' 179Key 0x6f = '' '' '' '' '' '' '' '' '' 180# keypad period (preliminary; patch required) 181Key 0x70 = '.' '.' '.' '.' '.' '.' '.' '.' '.' 182Key 0x71 = '' '' '' '' '' '' '' '' '' 183Key 0x72 = '' '' '' '' '' '' '' '' '' 184Key 0x73 = '' '' '' '' '' '' '' '' '' 185Key 0x74 = '' '' '' '' '' '' '' '' '' 186Key 0x75 = '' '' '' '' '' '' '' '' '' 187Key 0x76 = '' '' '' '' '' '' '' '' '' 188Key 0x77 = '' '' '' '' '' '' '' '' '' 189Key 0x78 = '' '' '' '' '' '' '' '' '' 190Key 0x79 = '' '' '' '' '' '' '' '' '' 191Key 0x7a = '' '' '' '' '' '' '' '' '' 192Key 0x7b = '' '' '' '' '' '' '' '' '' 193Key 0x7c = '' '' '' '' '' '' '' '' '' 194Key 0x7d = '' '' '' '' '' '' '' '' '' 195Key 0x7e = '' '' '' '' '' '' '' '' '' 196Key 0x7f = '' '' '' '' '' '' '' '' '' 197Acute ' ' = 0xc2b4 # U+00B4 ACUTE ACCENT 198Acute 'A' = 0xc381 199Acute 'E' = 0xc389 200Acute 'I' = 0xc38d 201Acute 'O' = 0xc393 202Acute 'U' = 0xc39a 203Acute 'Y' = 0xc39d 204Acute 'a' = 0xc3a1 205Acute 'e' = 0xc3a9 206Acute 'i' = 0xc3ad 207Acute 'o' = 0xc3b3 208Acute 'u' = 0xc3ba 209Acute 'y' = 0xc3bd 210AcuteTab = Normal Shift Option Option-Shift CapsLock CapsLock-Shift CapsLock-Option CapsLock-Option-Shift 211Grave ' ' = '`' # U+0060 GRAVE ACCENT 212Grave 'A' = 0xc380 213Grave 'E' = 0xc388 214Grave 'I' = 0xc38c 215Grave 'O' = 0xc392 216Grave 'U' = 0xc399 217Grave 'a' = 0xc3a0 218Grave 'e' = 0xc3a8 219Grave 'i' = 0xc3ac 220Grave 'o' = 0xc3b2 221Grave 'u' = 0xc3b9 222GraveTab = Normal Shift Option Option-Shift CapsLock CapsLock-Shift CapsLock-Option CapsLock-Option-Shift 223Circumflex ' ' = '^' # U+005E CIRCUMFLEX ACCENT 224Circumflex 'A' = 0xc382 225Circumflex 'E' = 0xc38a 226Circumflex 'I' = 0xc38e 227Circumflex 'O' = 0xc394 228Circumflex 'U' = 0xc39b 229Circumflex 'a' = 0xc3a2 230Circumflex 'e' = 0xc3aa 231Circumflex 'i' = 0xc3ae 232Circumflex 'o' = 0xc3b4 233Circumflex 'u' = 0xc3bb 234CircumflexTab = Normal Shift Option Option-Shift CapsLock CapsLock-Shift CapsLock-Option CapsLock-Option-Shift 235Diaeresis ' ' = 0xc2a8 # U+00A8 DIAERESIS 236Diaeresis 'A' = 0xc384 237Diaeresis 'E' = 0xc38b 238Diaeresis 'I' = 0xc38f 239Diaeresis 'O' = 0xc396 240Diaeresis 'U' = 0xc39c 241Diaeresis 'Y' = 0xc5b8 242Diaeresis 'a' = 0xc3a4 243Diaeresis 'e' = 0xc3ab 244Diaeresis 'i' = 0xc3af 245Diaeresis 'o' = 0xc3b6 246Diaeresis 'u' = 0xc3bc 247Diaeresis 'y' = 0xc3bf 248DiaeresisTab = Normal Shift Option Option-Shift CapsLock CapsLock-Shift CapsLock-Option CapsLock-Option-Shift 249Tilde ' ' = '~' # U+007E TILDE 250Tilde 'A' = 0xc383 251Tilde 'O' = 0xc395 252Tilde 'N' = 0xc391 253Tilde 'a' = 0xc3a3 254Tilde 'o' = 0xc3b5 255Tilde 'n' = 0xc3b1 256TildeTab = Normal Shift Option Option-Shift CapsLock CapsLock-Shift CapsLock-Option CapsLock-Option-Shift 257